package com.abc.cloud.service;

import com.abc.cloud.dto.comment.CommentUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.abc.cloud.common.utils.PageUtil;
import com.abc.cloud.entity.CommentEntity;

import java.util.List;
import java.util.Map;

/**
 * 评论表
 *
 * @author LiJunXi
 * @email 2770063826@qq.com
 * @date 2023-10-27 13:09:54
 */
public interface CommentService extends IService<CommentEntity> {

    PageUtil queryPage(Map<String, Object> params);

    // 通过文件id 获取 评论信息
    List<CommentUser> getCommentByFileId(Long id);

    PageUtil getCommentList(Map<String, Object> params);
}

